<template>

</template>

<script  setup lang="ts">
import { setToken } from '@/utils/index'
const Route = useRoute()
const Router = useRouter()

let token = Route.query.token as string

if(token){
    setToken(token)
    Router.push({
        name: 'home'
    })
}
</script>

<style lang="scss" scoped>

</style>